package cn.itcast.erp.service.impl;

import cn.itcast.erp.dao.mapper.OrderDetailMapper;
import cn.itcast.erp.entity.Orderdetail;
import cn.itcast.erp.entity.Orders;
import cn.itcast.erp.service.OrderDetailService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 采购详情Service类
 *
 * @author 崔凯铭, 罗宇航
 * @date 2019/6/12
 */

@Service("orderDetail")
public class OrderDetailServiceImpl implements OrderDetailService {

    @Resource
    private OrderDetailMapper orderDetailMapper;



    @Override
    public List<Orderdetail> findOrderDetail(Orders orders) {
        return this.orderDetailMapper.findOrderDetail(orders);
    }
}
